package com.yzy.soft.system.repository;

//import org.springframework.data.neo4j.annotation.Query;
//import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TaskRepository {
//extends GraphRepository<Task>
//    Task findByTaskName(@Param("taskName") String taskName);
//
//    @Query("MATCH (t:Task) WHERE t.taskName =~ ('(?i).*'+{taskName}+'.*') RETURN t")
//    Collection<Task> findByNameContaining(@Param("taskName") String taskName);

}